﻿using CodeMan.Domain.Shared;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CodeMan
{
    public static class CodeManConsts
    {
        public const string DbTablePrefix = "App";

        public const string DbSchema = null;

        public static Dictionary<string, AttrTypeEnum> DicMSSqlAttType =
            new Dictionary<string, AttrTypeEnum>() {
                    {"bigint",AttrTypeEnum.lLong},
                    {"bit",AttrTypeEnum.bbool},
                    {"char",AttrTypeEnum.cchar},
                    {"datetime",AttrTypeEnum.sstring},
                    {"decimal",AttrTypeEnum.ddecimal},
                    {"float",AttrTypeEnum.ffloat},
                    {"int",AttrTypeEnum.iint},
                    {"nchar",AttrTypeEnum.sstring},
                    {"numeric",AttrTypeEnum.ddecimal},
                    {"nvarchar",AttrTypeEnum.sstring},
                    {"smallint",AttrTypeEnum.iint16},
                    {"sysname",AttrTypeEnum.sstring},
                    {"varbinary",AttrTypeEnum.sstring},
                    {"varchar",AttrTypeEnum.sstring}
            };


    }
}


